package com.tom.redisapplication.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tom.redisapplication.mapper.UserMapper;
import com.tom.redisapplication.model.User;
import com.tom.redisapplication.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author zx
 * @date 2024年12月25日 9:58
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Override
    public Boolean updateUserData(User user) {
        return baseMapper.updateById(user) > 0;
    }
}
